package cn.maihe.elg.operation.centers.quanzhou.dto.notice;

import cn.maihe.elg.operation.centers.quanzhou.dto.QuanzhouBaseRespDTO;
import lombok.Getter;
import lombok.Setter;

/**
 * @Description 泉州中心通知接口响应DTO
 * @Author xxx
 * @Date 2025/08/31
 */
@Getter
@Setter
public class QuanzhouNoticeRespDTO extends QuanzhouBaseRespDTO {
    
    public QuanzhouNoticeRespDTO() {
        super();
    }
    
    public QuanzhouNoticeRespDTO(String code, String message) {
        super(code, message);
    }
    
    public static QuanzhouNoticeRespDTO success(String message) {
        return new QuanzhouNoticeRespDTO("1", message);
    }
    
    public static QuanzhouNoticeRespDTO failure(String message) {
        return new QuanzhouNoticeRespDTO("0", message);
    }
}